import Vue from 'vue'
import VueRouter from 'vue-router'
import movieRouter from './movie'
import mineRouter from './mine'
import cinemaRouter from "@/routers/cinema";
import Register from "@/routers/register";
import first from "@/routers/first";


Vue.use(VueRouter)


const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes : [
    movieRouter,
    mineRouter,
    cinemaRouter,
    Register,
    first,
    {
      path:'/*',
      redirect:'/movie'
    }
  ]
})
export default router
